package gwtadmin.client.wsdltree;

import java.util.ArrayList;
import java.util.List;

import com.google.gwt.user.client.rpc.IsSerializable;

public class WtMessage extends Wt implements IsSerializable {
	
	public WtMessage() {
		super();
	}
	
	public WtMessage(QName qname) {
		super(qname);
	}

	public void addPart(QName qname, String element) {
		partQNames.add(qname);
		partElements.add(element);
	}
	
	public int getPartCount() {
		return partQNames.size();
	}

//	public QName Wt.qname;
	public List<QName> partQNames = new ArrayList<QName>();
	public List<String> partElements = new ArrayList<String>();
}
